package com.xxg.fileshand.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.xxg.fileshand.R
import com.xxg.fileshand.bean.InventoryTaskResponse

class InventoryTaskAdapter :
    BaseQuickAdapter<InventoryTaskResponse.DataDTO, BaseViewHolder>(R.layout.item_inventory_task),
    LoadMoreModule {
    override fun convert(helper: BaseViewHolder, item: InventoryTaskResponse.DataDTO) {
        helper.setText(R.id.tv_name, item.pdTitle)
            .setText(R.id.tv_count, "档案数量：${item.wzCount}")
    }
}